package com.icangya.service;


import com.icangya.domain.GainRecord;

import java.io.Serializable;
import java.util.List;
import java.sql.Timestamp;

public interface IGainRecordService {

    //根据时间段来获取商城销量纪录，未分页
    GainRecord getGainByTimeSlot(Timestamp startTime,Timestamp endTime);

    //根据页码查询商城销量纪录
    List<GainRecord> getAllGain(int startpage);
//    练手用
//    Serializable saveOne();

}
